package com.teacher.service;

import com.teacher.entity.PhysicalHealth;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

// 学生体质健康信息
@Service
public interface PhysicalHealthService {
    // Excel导入
    String uploadCommentsOfExcel(@RequestParam("file") MultipartFile file,
                                 @RequestParam("academicYear") String academicYear);
    // 增加
    PhysicalHealth addPhysicalHealth(PhysicalHealth physicalHealth);
    // 查看详情
    PhysicalHealth getDetailsById(String id);
    // 根据条件分页查询
    Page<PhysicalHealth> specificPageQueryPhysicalHealthList(PhysicalHealth physicalHealth, int page, int size);
    // 根据ID删除
    void deletePhysicalHealth(String id);
    // 根据ID批量删除
    void deletePhysicalHealthList(String idList);
}
